﻿<!--
	@create by 
	@update by 
	@description 
-->
<div>
	<el-form-q :field-data="queryFields" :buttons="queryButtons" ref="fromPrd"></el-form-q>
    <div class="yu-toolBar">
      <el-button-group>
        <el-button icon="document" @click="infoFn" v-if="checkPermission('detail')">查看</el-button>
      </el-button-group>
    </div>
    
    <el-table-x ref="reftable" :row-index="true" :base-params="baseParams"
        :data-url="dataUrl" :table-columns="tableColumns" :request-type="'POST'">
    </el-table-x>

    <el-dialog :title="viewTitle[viewType]" :visible.sync="dialogVisible" size="large" >
      <!-- <el-card style="width: 100%;" shadow="always" header="借款合同详细信息" :body-style="{ padding: '0px' }">
         <div >
           	<el-form-x ref="ctrForm" :group-fields="updateFields" label-width="180px" :disabled="formDisabled" ></el-form-x>
         </div>
      </el-card> -->
        
      <el-tabs type="border-card" v-model="tabName" >
          <el-tab-pane label="合同信息" name="loanCtrInfo" height="100%">
          		<el-card style="width: 100%;" shadow="always" header="" :body-style="{ padding: '0px' }">
              		<div >
                		<el-form-x ref="ctrForm" :group-fields="updateFields" label-width="180px" :disabled="formDisabled" ></el-form-x>
              		</div>
          		</el-card>
        </el-tab-pane>
        
        <el-tab-pane label="影像信息" name="imageManage">
        	 <el-card style="width: 100%;" shadow="always" header="" :body-style="{ padding: '0px' }">
	             <el-table-x ref="imagesReftable" :radiobox="false"  :base-params="imagesParams"  @custom-row-click="batchSernoClick" 
		                     :data-url="dataUrlImages" :table-columns="tableColumnsImages" :default-load="false" :request-type="'POST'">
		         </el-table-x>
	         </el-card>
	    </el-tab-pane>
        
        <!-- <el-tab-pane label="合同信息" name="first">
		          <div style="padding: 10px;">
		            <el-card style="width: 100%;" shadow="always" header="合同基本信息" :body-style="{ padding: '0px' }">
		              <div >
		                <el-form-x ref="ctrForm" :group-fields="ctrFields" label-width="180px" >
		                </el-form-x>
		              </div>
		            </el-card>
		          </div>
		          <div style="padding: 10px;">
		            <el-card style="width: 100%;" shadow="always" header="合同担保信息"  :body-style="{ padding: '0px' }">
		              <div >
		                <el-form-x ref="form1" :group-fields="fields1" label-width="180px" >
		                </el-form-x>
		              </div>
		            </el-card>
		          </div>
        </el-tab-pane>
        
        <el-tab-pane label="合同查看及下载" name="second" height="100%">
          <el-button type="primary" @click="obtainImage" icon="check">获取影像信息</el-button>
        </el-tab-pane> -->
        
      </el-tabs>
      
      <el-form-x ref="form7"  :buttons="buttons6" ></el-form-x>
      
    </el-dialog>
    
    
</div>
